#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
void main()
{
	int i,j,k;
	clrscr();

	MAIN_LOOP:
	for(i = 1; i <= 3; i++)
	{
		for(j = 1; j <= 3; j++)
		{
			for(k = 1; k <= 3; k++)
			{
				if(i == 3 && j == 3 && k == 3)
				{
					goto MAIN_LOOP;
				}
				else
					printf("\n\t\t%d%d%d",i,j,k);
			}
		}
	}

	DISPLAY_MESSAGE:

	printf("\n\t\tOut of the loop at last!");

	getch();

}